/**
 * Created by kedong on 2017/6/29 0029.
 */
class User {

    var name: String? = null

    constructor() {
    }

    constructor(name: String) {
        this.name = name
    }

    override fun toString(): String {
        return "User(name=$name)"
    }

    fun say() {
        println("my name is $name")
    }
}
